{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication/Analysis/logSTATA/015_analysis_dropUrban.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 6 Nov 2021, 20:34:42
{txt}
{com}. 
. 
. *******************************************************************************
. /*                                        URPELAINEN & ZHANG 2021                                                */
. *******************************************************************************
. 
. /* 
> 
> File Name:      015_analysis_dropUrban.do
> 
> By:                             Alice Tianbo Zhang (alice.tianbo.zhang@gmail.com)
> 
> Last Edited:    10/20/2021
> 
> Purpose:                
> 
> Data Used:      votes_wind_panel_urban.dta
>                                 election_district_panel_urban.dta
>                                 
> 
> Program Used:   - reghdfe -
> 
> */
. 
. *******************************************************************************
. /*                                         Table A9                                                                  */
. *******************************************************************************
. cd "$rootDir/$dataDir/Final"
{res}/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication/Data/Final
{txt}
{com}. use election_district_panel_urban.dta, clear
{txt}
{com}. 
. ** Create instrument and fixed effects
. gen t = year - 2004
{txt}
{com}. gen inter = t * mean_wp
{txt}
{com}. 
. egen stateyear_fixed = group(state year)
{txt}
{com}. egen district_fixed = group(state district)
{txt}
{com}. 
. gen cum_lncapacity_turbine = log(cum_capacity_turbine + 1)
{txt}
{com}. gen cum_lncount_turbine = log(cum_count_turbine +1 )
{txt}
{com}. 
. gen turnout = votes1 + votes2 + votes3 + votes4
{txt}
{com}. gen lnturnout = log(turnout)
{txt}(1 missing value generated)

{com}. 
. 
. local outcome demvotesmajorpercent repvotesmajorpercent incumbvotesmajorpercent  // outcome variable 
{txt}
{com}. local endogenous cum_capacity_turbine cum_count_turbine  // endogenous variable
{txt}
{com}. local instrument inter // instrument
{txt}
{com}. local admin1_trend stateyear_fixed // geography * time trend
{txt}
{com}. local admin2 district_fixed // panel unit (cluster variable)
{txt}
{com}. 
. 
. foreach y in `outcome' {c -(}
{txt}  2{com}.         // Create outcome variable label for storing estimates
.         local y_name = substr("`y'", 1, 3)
{txt}  3{com}.         
.         foreach x in `endogenous' {c -(}
{txt}  4{com}.                         // Create endogenous variable label for storing estimates
.                         tokenize "`x'", parse("_")
{txt}  5{com}.                         local x_name "`3'"
{txt}  6{com}.                         di "`x_name'"
{txt}  7{com}.                         
.                         // Run IV regression
.                         reghdfe `y' (`x' = `instrument') if frac_urbanArea < 0.5, absorb(`admin1_trend' `admin2') ffirst stages(first ols reduced) vce(cluster `admin2') old
{txt}  8{com}.                         
.                         // Store IV, first stage, OLS, reduced form estimates
.                         estimates store `y_name'_`x_name'_iv
{txt}  9{com}.                         estimates restore reghdfe_first1
{txt} 10{com}.                         estimates store `y_name'_`x_name'_first
{txt} 11{com}.                         estimates restore reghdfe_ols
{txt} 12{com}.                         estimates store `y_name'_`x_name'_ols
{txt} 13{com}.                         estimates restore reghdfe_reduced
{txt} 14{com}.                         estimates store `y_name'_`x_name'_reduced
{txt} 15{com}.                 {c )-}
{txt} 16{com}. {c )-}
capacity
{err}(running historical version of reghdfe)
{res}{txt}(dropped 4 singleton observations)
{res}{txt}(converged in 5 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     14.37
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0002
{txt}{col 51}R-squared{col 67}= {res}    0.7891
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6621
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1170
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}  111.9682

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 38.93455{col 26}{space 2} 10.27061{col 37}{space 1}    3.79{col 46}{space 3}0.000{col 54}{space 4} 18.67684{col 67}{space 3} 59.19225
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           96              96              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      5.21
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0236
{txt}{col 51}R-squared{col 67}= {res}    0.8513
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7618
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0081
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.3550

{txt}{ralign 86:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}demvotesmajorpercent{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2} .0070877{col 34}{space 2} .0031066{col 45}{space 1}    2.28{col 54}{space 3}0.024{col 62}{space 4} .0009602{col 75}{space 3} .0132152
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}           96              96              0     {c |} 
      district_fixed {c |}            0             193            193 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     10.29
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0016
{txt}{col 51}R-squared{col 67}= {res}    0.8539
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7660
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0256
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.2720

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}demvotesma~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 1.435407{col 26}{space 2} .4474384{col 37}{space 1}    3.21{col 46}{space 3}0.002{col 54}{space 4} .5528808{col 67}{space 3} 2.317933
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           96              96              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   192{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   192{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   14.37{col 28}  0.0002{col 37}{txt}|{col 42}{res}   16.51{col 51}  0.0000{col 60}{txt}|{col 65}{res}   14.37

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}10.68  {col 61}{txt}P-val={res}0.0011

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   89.20
Kleibergen-Paap Wald rk F statistic{col 65}   14.37

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}192{txt})={col 49}{res}  10.29{col 61}{txt}P-val={res}0.0016
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}  11.82{col 61}{txt}P-val={res}0.0006
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   8.38{col 61}{txt}P-val={res}0.0038

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       193
{txt}Number of observations               N  = {res}       770
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   193{txt}{col 55}Number of obs = {res}     770
{txt}{col 55}F(  1,   192) = {res}    6.53
{txt}{col 55}Prob > F      = {res}  0.0114
{txt}Total (centered) SS     = {res} 42349.67487{txt}{col 55}Centered R2   = {res}  0.8299
{txt}Total (uncentered) SS   = {res} 42349.67487{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 48051.27388{txt}{col 55}Root MSE      = {res}   10.01

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}demvotesmajorpercent{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2} .0368672{col 34}{space 2} .0144293{col 45}{space 1}    2.56{col 54}{space 3}0.011{col 62}{space 4} .0084069{col 75}{space 3} .0653274
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  10.681
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0011
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  89.204
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  14.371
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}           96              96              0     {c |} 
      district_fixed {c |}            0             193            193 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(dropped 4 singleton observations)
{res}{txt}(converged in 5 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     13.58
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0003
{txt}{col 51}R-squared{col 67}= {res}    0.9885
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9816
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1217
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   65.1375

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 23.15835{col 26}{space 2} 6.285002{col 37}{space 1}    3.68{col 46}{space 3}0.000{col 54}{space 4} 10.76183{col 67}{space 3} 35.55486
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           96              96              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      5.64
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0186
{txt}{col 51}R-squared{col 67}= {res}    0.8514
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7619
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0087
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.3521

{txt}{ralign 83:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}demvotesmajorpe~t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} .0126049{col 31}{space 2} .0053098{col 42}{space 1}    2.37{col 51}{space 3}0.019{col 59}{space 4} .0021319{col 72}{space 3} .0230779
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}           96              96              0     {c |} 
   district_fixed {c |}            0             193            193 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     10.29
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0016
{txt}{col 51}R-squared{col 67}= {res}    0.8539
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7660
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0256
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.2720

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}demvotesma~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 1.435407{col 26}{space 2} .4474384{col 37}{space 1}    3.21{col 46}{space 3}0.002{col 54}{space 4} .5528808{col 67}{space 3} 2.317933
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           96              96              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   192{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   192{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   13.58{col 28}  0.0003{col 37}{txt}|{col 42}{res}   15.59{col 51}  0.0001{col 60}{txt}|{col 65}{res}   13.58

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}10.27  {col 61}{txt}P-val={res}0.0013

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   93.25
Kleibergen-Paap Wald rk F statistic{col 65}   13.58

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}192{txt})={col 49}{res}  10.29{col 61}{txt}P-val={res}0.0016
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}  11.82{col 61}{txt}P-val={res}0.0006
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   8.38{col 61}{txt}P-val={res}0.0038

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       193
{txt}Number of observations               N  = {res}       770
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   193{txt}{col 55}Number of obs = {res}     770
{txt}{col 55}F(  1,   192) = {res}    6.14
{txt}{col 55}Prob > F      = {res}  0.0141
{txt}Total (centered) SS     = {res} 42349.67487{txt}{col 55}Centered R2   = {res}  0.8314
{txt}Total (uncentered) SS   = {res} 42349.67487{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 47634.72731{txt}{col 55}Root MSE      = {res}   9.962

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}demvotesmajorpe~t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} .0619823{col 31}{space 2} .0250215{col 42}{space 1}    2.48{col 51}{space 3}0.014{col 59}{space 4} .0126299{col 72}{space 3} .1113347
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  10.273
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0013
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  93.251
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  13.577
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}           96              96              0     {c |} 
   district_fixed {c |}            0             193            193 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
capacity
{err}(running historical version of reghdfe)
{res}{txt}(dropped 4 singleton observations)
{res}{txt}(converged in 5 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     14.37
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0002
{txt}{col 51}R-squared{col 67}= {res}    0.7891
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6621
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1170
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}  111.9682

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 38.93455{col 26}{space 2} 10.27061{col 37}{space 1}    3.79{col 46}{space 3}0.000{col 54}{space 4} 18.67684{col 67}{space 3} 59.19225
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           96              96              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      5.21
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0236
{txt}{col 51}R-squared{col 67}= {res}    0.8513
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7618
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0081
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.3550

{txt}{ralign 86:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}repvotesmajorpercent{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-.0070877{col 34}{space 2} .0031066{col 45}{space 1}   -2.28{col 54}{space 3}0.024{col 62}{space 4}-.0132152{col 75}{space 3}-.0009602
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}           96              96              0     {c |} 
      district_fixed {c |}            0             193            193 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     10.29
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0016
{txt}{col 51}R-squared{col 67}= {res}    0.8539
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7660
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0256
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.2720

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}repvotesma~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-1.435407{col 26}{space 2} .4474384{col 37}{space 1}   -3.21{col 46}{space 3}0.002{col 54}{space 4}-2.317933{col 67}{space 3}-.5528807
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           96              96              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   192{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   192{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   14.37{col 28}  0.0002{col 37}{txt}|{col 42}{res}   16.51{col 51}  0.0000{col 60}{txt}|{col 65}{res}   14.37

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}10.68  {col 61}{txt}P-val={res}0.0011

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   89.20
Kleibergen-Paap Wald rk F statistic{col 65}   14.37

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}192{txt})={col 49}{res}  10.29{col 61}{txt}P-val={res}0.0016
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}  11.82{col 61}{txt}P-val={res}0.0006
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   8.38{col 61}{txt}P-val={res}0.0038

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       193
{txt}Number of observations               N  = {res}       770
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   193{txt}{col 55}Number of obs = {res}     770
{txt}{col 55}F(  1,   192) = {res}    6.53
{txt}{col 55}Prob > F      = {res}  0.0114
{txt}Total (centered) SS     = {res} 42349.67582{txt}{col 55}Centered R2   = {res}  0.8299
{txt}Total (uncentered) SS   = {res} 42349.67582{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 48051.27431{txt}{col 55}Root MSE      = {res}   10.01

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}repvotesmajorpercent{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-.0368672{col 34}{space 2} .0144293{col 45}{space 1}   -2.56{col 54}{space 3}0.011{col 62}{space 4}-.0653274{col 75}{space 3}-.0084069
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  10.681
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0011
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  89.204
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  14.371
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}           96              96              0     {c |} 
      district_fixed {c |}            0             193            193 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(dropped 4 singleton observations)
{res}{txt}(converged in 5 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     13.58
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0003
{txt}{col 51}R-squared{col 67}= {res}    0.9885
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9816
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1217
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   65.1375

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 23.15835{col 26}{space 2} 6.285002{col 37}{space 1}    3.68{col 46}{space 3}0.000{col 54}{space 4} 10.76183{col 67}{space 3} 35.55486
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           96              96              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      5.64
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0186
{txt}{col 51}R-squared{col 67}= {res}    0.8514
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7619
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0087
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.3521

{txt}{ralign 83:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}repvotesmajorpe~t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-.0126049{col 31}{space 2} .0053098{col 42}{space 1}   -2.37{col 51}{space 3}0.019{col 59}{space 4}-.0230779{col 72}{space 3}-.0021319
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}           96              96              0     {c |} 
   district_fixed {c |}            0             193            193 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       770
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     10.29
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0016
{txt}{col 51}R-squared{col 67}= {res}    0.8539
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7660
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0256
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.2720

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}repvotesma~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-1.435407{col 26}{space 2} .4474384{col 37}{space 1}   -3.21{col 46}{space 3}0.002{col 54}{space 4}-2.317933{col 67}{space 3}-.5528807
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           96              96              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   192{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   192{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   13.58{col 28}  0.0003{col 37}{txt}|{col 42}{res}   15.59{col 51}  0.0001{col 60}{txt}|{col 65}{res}   13.58

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}10.27  {col 61}{txt}P-val={res}0.0013

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   93.25
Kleibergen-Paap Wald rk F statistic{col 65}   13.58

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}192{txt})={col 49}{res}  10.29{col 61}{txt}P-val={res}0.0016
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}  11.82{col 61}{txt}P-val={res}0.0006
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   8.38{col 61}{txt}P-val={res}0.0038

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       193
{txt}Number of observations               N  = {res}       770
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   193{txt}{col 55}Number of obs = {res}     770
{txt}{col 55}F(  1,   192) = {res}    6.14
{txt}{col 55}Prob > F      = {res}  0.0141
{txt}Total (centered) SS     = {res} 42349.67582{txt}{col 55}Centered R2   = {res}  0.8314
{txt}Total (uncentered) SS   = {res} 42349.67582{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 47634.72775{txt}{col 55}Root MSE      = {res}   9.962

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}repvotesmajorpe~t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-.0619823{col 31}{space 2} .0250215{col 42}{space 1}   -2.48{col 51}{space 3}0.014{col 59}{space 4}-.1113347{col 72}{space 3}-.0126299
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  10.273
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0013
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  93.251
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  13.577
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}           96              96              0     {c |} 
   district_fixed {c |}            0             193            193 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
capacity
{err}(running historical version of reghdfe)
{res}{txt}(dropped 7 singleton observations)
{res}{txt}(converged in 8 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       689
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     13.30
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0003
{txt}{col 51}R-squared{col 67}= {res}    0.7954
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6507
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1094
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}  117.6105

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 39.99234{col 26}{space 2} 10.96713{col 37}{space 1}    3.65{col 46}{space 3}0.000{col 54}{space 4} 18.36081{col 67}{space 3} 61.62387
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           92              92              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       689
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      0.01
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.9407
{txt}{col 51}R-squared{col 67}= {res}    0.6459
{txt}{col 51}Adj R-squared{col 67}= {res}    0.3956
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0000
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.6909

{txt}{ralign 86:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}incumbvotesmajorpe~t{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-.0002264{col 34}{space 2} .0030369{col 45}{space 1}   -0.07{col 54}{space 3}0.941{col 62}{space 4}-.0062163{col 75}{space 3} .0057635
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}           92              92              0     {c |} 
      district_fixed {c |}            0             193            193 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       689
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      2.08
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.1509
{txt}{col 51}R-squared{col 67}= {res}    0.6486
{txt}{col 51}Adj R-squared{col 67}= {res}    0.4000
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0074
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.6549

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}incumbvote~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .8105287{col 26}{space 2} .5621079{col 37}{space 1}    1.44{col 46}{space 3}0.151{col 54}{space 4}-.2981708{col 67}{space 3} 1.919228
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           92              92              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   192{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   192{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   13.30{col 28}  0.0003{col 37}{txt}|{col 42}{res}   15.43{col 51}  0.0001{col 60}{txt}|{col 65}{res}   13.30

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}10.91  {col 61}{txt}P-val={res}0.0010

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   73.18
Kleibergen-Paap Wald rk F statistic{col 65}   13.30

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}192{txt})={col 49}{res}   2.08{col 61}{txt}P-val={res}0.1509
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.41{col 61}{txt}P-val={res}0.1204
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.36{col 61}{txt}P-val={res}0.1245

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       193
{txt}Number of observations               N  = {res}       689
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   193{txt}{col 55}Number of obs = {res}     689
{txt}{col 55}F(  1,   192) = {res}    1.50
{txt}{col 55}Prob > F      = {res}  0.2215
{txt}Total (centered) SS     = {res} 37847.58078{txt}{col 55}Centered R2   = {res}  0.6214
{txt}Total (uncentered) SS   = {res} 37847.58078{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 40475.88205{txt}{col 55}Root MSE      = {res}   10.02

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}incumbvotesmajorpe~t{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2} .0202671{col 34}{space 2} .0165244{col 45}{space 1}    1.23{col 54}{space 3}0.222{col 62}{space 4}-.0123257{col 75}{space 3} .0528599
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  10.906
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0010
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  73.184
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  13.297
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}           92              92              0     {c |} 
      district_fixed {c |}            0             193            193 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(dropped 7 singleton observations)
{res}{txt}(converged in 8 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       689
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     12.58
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0005
{txt}{col 51}R-squared{col 67}= {res}    0.9882
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9798
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1163
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   68.4552

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 24.09943{col 26}{space 2} 6.795533{col 37}{space 1}    3.55{col 46}{space 3}0.000{col 54}{space 4} 10.69594{col 67}{space 3} 37.50291
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           92              92              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       689
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      0.07
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.7908
{txt}{col 51}R-squared{col 67}= {res}    0.6460
{txt}{col 51}Adj R-squared{col 67}= {res}    0.3956
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0001
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.6905

{txt}{ralign 83:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}incumbvotesmajo~t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-.0013382{col 31}{space 2} .0050388{col 42}{space 1}   -0.27{col 51}{space 3}0.791{col 59}{space 4}-.0112766{col 72}{space 3} .0086002
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}           92              92              0     {c |} 
   district_fixed {c |}            0             193            193 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}       689
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      2.08
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.1509
{txt}{col 51}R-squared{col 67}= {res}    0.6486
{txt}{col 51}Adj R-squared{col 67}= {res}    0.4000
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0074
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}    9.6549

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}incumbvote~t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} .8105287{col 26}{space 2} .5621079{col 37}{space 1}    1.44{col 46}{space 3}0.151{col 54}{space 4}-.2981708{col 67}{space 3} 1.919228
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}           92              92              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   192{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   192{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   12.58{col 28}  0.0005{col 37}{txt}|{col 42}{res}   14.59{col 51}  0.0001{col 60}{txt}|{col 65}{res}   12.58

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}10.35  {col 61}{txt}P-val={res}0.0013

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}   78.44
Kleibergen-Paap Wald rk F statistic{col 65}   12.58

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}192{txt})={col 49}{res}   2.08{col 61}{txt}P-val={res}0.1509
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.41{col 61}{txt}P-val={res}0.1204
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   2.36{col 61}{txt}P-val={res}0.1245

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       193
{txt}Number of observations               N  = {res}       689
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   193{txt}{col 55}Number of obs = {res}     689
{txt}{col 55}F(  1,   192) = {res}    1.49
{txt}{col 55}Prob > F      = {res}  0.2243
{txt}Total (centered) SS     = {res} 37847.58078{txt}{col 55}Centered R2   = {res}  0.6215
{txt}Total (uncentered) SS   = {res} 37847.58078{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 40457.30362{txt}{col 55}Root MSE      = {res}   10.02

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}incumbvotesmajo~t{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} .0336327{col 31}{space 2} .0275853{col 42}{space 1}    1.22{col 51}{space 3}0.224{col 59}{space 4}-.0207764{col 72}{space 3} .0880418
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  10.350
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0013
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71}  78.443
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  12.577
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}           92              92              0     {c |} 
   district_fixed {c |}            0             193            193 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)

{com}. 
. *--------------------- Export LaTeX regression tables -----------------------*
. cd "$rootDir/$resultDir/Tables"
{res}/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication/Results/Tables
{txt}
{com}. 
. ** IV estimates only
. esttab dem_capacity_iv dem_count_iv rep_capacity_iv rep_count_iv ///
>                 inc_capacity_iv inc_count_iv using TableA9.tex, booktabs replace ///
>                 refcat(cum_capacity_turbine "\emph{c -(}Panel: IV{c )-}", nolabel) ///
>                 b(%9.3f) se noconstant nonotes legend star(* 0.10 ** 0.05 *** 0.01) ///
>                 varlabels(cum_capacity_turbine "Cumulative capacity (MW)" cum_count_turbine "Cumulative count") varwidth(27) modelwidth(13) ///
>                 stats(N N_clust r2, labels("Observations" "Districts" "\(R^{c -(}2{c )-}\)") fmt(0 0 2)) ///
>                 mtitles("Model" "Model" "Model" "Model" "Model" "Model") ///
>                 mgroups("Democratic Vote" "Republican Vote" "Incumbent Vote", pattern(1 0 1 0 1 0) prefix(\multicolumn{c -(}@span{c )-}{c -(}c{c )-}{c -(}) suffix({c )-}) span erepeat(\cmidrule(lr){c -(}@span{c )-})) ///
>                 width(\hsize)
{res}{txt}(output written to {browse  `"TableA9.tex"'})

{com}. 
. 
. *******************************************************************************
. /*                                         Table A10                                                             */
. *******************************************************************************
. cd "$rootDir/$dataDir/Final"
{res}/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication/Data/Final
{txt}
{com}. use votes_wind_panel_urban.dta, clear
{txt}
{com}. 
. ** Create instrument and fixed effects
. gen t = year - 2003
{txt}
{com}. gen inter = t * mean_wp
{txt}
{com}. 
. egen stateyear_fixed = group(state year)
{txt}
{com}. egen district_fixed = group(state district)
{txt}
{com}. 
. 
. local outcome pro_env anti_env // outcome variable 
{txt}
{com}. local endogenous cum_capacity_turbine cum_count_turbine // endogenous variable
{txt}
{com}. local instrument inter // instrument
{txt}
{com}. local admin1_trend stateyear_fixed // geography * time trend
{txt}
{com}. local admin2 district_fixed // panel unit (cluster variable)
{txt}
{com}. 
. foreach y in `outcome' {c -(}
{txt}  2{com}.         // Create outcome variable label for storing estimates
.         tokenize "`y'", parse("_")
{txt}  3{com}.         local y_name "`1'"
{txt}  4{com}.         di "`y_name'"
{txt}  5{com}.         
.         foreach x in `endogenous' {c -(}
{txt}  6{com}.                         // Create endogenous variable label for storing estimates
.                         tokenize "`x'", parse("_")
{txt}  7{com}.                         local x_name "`3'"
{txt}  8{com}.                         di "`x_name'"
{txt}  9{com}.                         
.                         // Run IV regression
.                         reghdfe `y' (`x' = `instrument') if frac_urbanArea < 0.5, absorb(`admin1_trend' `admin2') ffirst stages(first ols reduced) vce(cluster `admin2') old
{txt} 10{com}.                         
.                         // Store IV, first stage, OLS, reduced form estimates
.                         estimates store `y_name'_`x_name'_iv
{txt} 11{com}.                         estimates restore reghdfe_first1
{txt} 12{com}.                         estimates store `y_name'_`x_name'_first
{txt} 13{com}.                         estimates restore reghdfe_ols
{txt} 14{com}.                         estimates store `y_name'_`x_name'_ols
{txt} 15{com}.                         estimates restore reghdfe_reduced
{txt} 16{com}.                         estimates store `y_name'_`x_name'_reduced
{txt} 17{com}.                 {c )-}
{txt} 18{com}. {c )-}
pro
capacity
{err}(running historical version of reghdfe)
{res}{txt}(dropped 10 singleton observations)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     15.98
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0001
{txt}{col 51}R-squared{col 67}= {res}    0.7455
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6718
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1349
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}  144.8739

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 47.37488{col 26}{space 2} 11.85015{col 37}{space 1}    4.00{col 46}{space 3}0.000{col 54}{space 4} 24.00168{col 67}{space 3} 70.74808
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          240             240              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      7.40
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0071
{txt}{col 51}R-squared{col 67}= {res}    0.8439
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7986
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0112
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   17.8854

{txt}{ralign 86:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}             pro_env{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2} .0122147{col 34}{space 2} .0044903{col 45}{space 1}    2.72{col 54}{space 3}0.007{col 62}{space 4} .0033581{col 75}{space 3} .0210713
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          240             240              0     {c |} 
      district_fixed {c |}            0             193            193 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      4.12
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0437
{txt}{col 51}R-squared{col 67}= {res}    0.8431
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7976
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0063
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   17.9298

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}     pro_env{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 1.179254{col 26}{space 2} .5808866{col 37}{space 1}    2.03{col 46}{space 3}0.044{col 54}{space 4} .0335156{col 67}{space 3} 2.324993
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          240             240              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   192{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   192{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   15.98{col 28}  0.0001{col 37}{txt}|{col 42}{res}   18.35{col 51}  0.0000{col 60}{txt}|{col 65}{res}   15.98

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}11.61  {col 61}{txt}P-val={res}0.0007

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  263.14
Kleibergen-Paap Wald rk F statistic{col 65}   15.98

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}192{txt})={col 49}{res}   4.12{col 61}{txt}P-val={res}0.0437
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   4.73{col 61}{txt}P-val={res}0.0296
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   4.15{col 61}{txt}P-val={res}0.0416

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       193
{txt}Number of observations               N  = {res}      1929
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   193{txt}{col 55}Number of obs = {res}    1929
{txt}{col 55}F(  1,   192) = {res}    3.86
{txt}{col 55}Prob > F      = {res}  0.0509
{txt}Total (centered) SS     = {res} 483641.2928{txt}{col 55}Centered R2   = {res}  0.8420
{txt}Total (uncentered) SS   = {res} 483641.2928{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 484058.8974{txt}{col 55}Root MSE      = {res}   17.99

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}             pro_env{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}  .024892{col 34}{space 2} .0126708{col 45}{space 1}    1.96{col 54}{space 3}0.051{col 62}{space 4}-.0000998{col 75}{space 3} .0498837
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  11.613
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0007
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 263.140
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  15.983
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          240             240              0     {c |} 
      district_fixed {c |}            0             193            193 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(dropped 10 singleton observations)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     15.71
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0001
{txt}{col 51}R-squared{col 67}= {res}    0.9797
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9739
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1426
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   79.8711

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 26.97431{col 26}{space 2} 6.804948{col 37}{space 1}    3.96{col 46}{space 3}0.000{col 54}{space 4} 13.55225{col 67}{space 3} 40.39636
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          240             240              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      7.89
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0055
{txt}{col 51}R-squared{col 67}= {res}    0.8441
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7989
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0127
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   17.8720

{txt}{ralign 83:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}          pro_env{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} .0234716{col 31}{space 2} .0083577{col 42}{space 1}    2.81{col 51}{space 3}0.005{col 59}{space 4}  .006987{col 72}{space 3} .0399563
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          240             240              0     {c |} 
   district_fixed {c |}            0             193            193 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      4.12
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0437
{txt}{col 51}R-squared{col 67}= {res}    0.8431
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7976
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0063
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   17.9298

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}     pro_env{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 1.179254{col 26}{space 2} .5808866{col 37}{space 1}    2.03{col 46}{space 3}0.044{col 54}{space 4} .0335156{col 67}{space 3} 2.324993
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          240             240              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   192{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   192{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   15.71{col 28}  0.0001{col 37}{txt}|{col 42}{res}   18.04{col 51}  0.0000{col 60}{txt}|{col 65}{res}   15.71

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}11.48  {col 61}{txt}P-val={res}0.0007

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  280.67
Kleibergen-Paap Wald rk F statistic{col 65}   15.71

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}192{txt})={col 49}{res}   4.12{col 61}{txt}P-val={res}0.0437
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   4.73{col 61}{txt}P-val={res}0.0296
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   4.15{col 61}{txt}P-val={res}0.0416

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       193
{txt}Number of observations               N  = {res}      1929
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   193{txt}{col 55}Number of obs = {res}    1929
{txt}{col 55}F(  1,   192) = {res}    3.94
{txt}{col 55}Prob > F      = {res}  0.0486
{txt}Total (centered) SS     = {res} 483641.2928{txt}{col 55}Centered R2   = {res}  0.8426
{txt}Total (uncentered) SS   = {res} 483641.2928{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res}  482072.773{txt}{col 55}Root MSE      = {res}   17.96

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}          pro_env{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2} .0437177{col 31}{space 2}  .022024{col 42}{space 1}    1.99{col 51}{space 3}0.049{col 59}{space 4} .0002777{col 72}{space 3} .0871577
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  11.483
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0007
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 280.668
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  15.713
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          240             240              0     {c |} 
   district_fixed {c |}            0             193            193 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
anti
capacity
{err}(running historical version of reghdfe)
{res}{txt}(dropped 10 singleton observations)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_capacity_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     15.98
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0001
{txt}{col 51}R-squared{col 67}= {res}    0.7455
{txt}{col 51}Adj R-squared{col 67}= {res}    0.6718
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1349
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}  144.8739

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_capaci~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 47.37488{col 26}{space 2} 11.85015{col 37}{space 1}    4.00{col 46}{space 3}0.000{col 54}{space 4} 24.00168{col 67}{space 3} 70.74808
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          240             240              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      5.90
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0161
{txt}{col 51}R-squared{col 67}= {res}    0.8382
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7913
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0087
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   18.1351

{txt}{ralign 86:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}            anti_env{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-.0108956{col 34}{space 2} .0044864{col 45}{space 1}   -2.43{col 54}{space 3}0.016{col 62}{space 4}-.0197447{col 75}{space 3}-.0020466
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          240             240              0     {c |} 
      district_fixed {c |}            0             193            193 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      5.85
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0165
{txt}{col 51}R-squared{col 67}= {res}    0.8382
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7914
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0091
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   18.1312

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    anti_env{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-1.439505{col 26}{space 2} .5953727{col 37}{space 1}   -2.42{col 46}{space 3}0.017{col 54}{space 4}-2.613816{col 67}{space 3}-.2651938
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          240             240              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   192{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   192{txt})
{res}cum_capacity{col 14}{txt}|{col 18}{res}   15.98{col 28}  0.0001{col 37}{txt}|{col 42}{res}   18.35{col 51}  0.0000{col 60}{txt}|{col 65}{res}   15.98

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}11.61  {col 61}{txt}P-val={res}0.0007

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  263.14
Kleibergen-Paap Wald rk F statistic{col 65}   15.98

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}192{txt})={col 49}{res}   5.85{col 61}{txt}P-val={res}0.0165
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   6.71{col 61}{txt}P-val={res}0.0096
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   5.83{col 61}{txt}P-val={res}0.0157

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       193
{txt}Number of observations               N  = {res}      1929
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   193{txt}{col 55}Number of obs = {res}    1929
{txt}{col 55}F(  1,   192) = {res}    4.91
{txt}{col 55}Prob > F      = {res}  0.0279
{txt}Total (centered) SS     = {res} 495982.7314{txt}{col 55}Centered R2   = {res}  0.8336
{txt}Total (uncentered) SS   = {res} 495982.7314{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 505453.9256{txt}{col 55}Root MSE      = {res}   18.39

{txt}{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}            anti_env{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      t{col 54}   P>|t|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_capacity_turbine {c |}{col 22}{res}{space 2}-.0303854{col 34}{space 2}  .013711{col 45}{space 1}   -2.22{col 54}{space 3}0.028{col 62}{space 4}-.0574289{col 75}{space 3}-.0033419
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  11.613
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0007
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 263.140
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  15.983
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_capacity_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 21}{c TT}{hline 49}{c TRC}
         Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 21}{c +}{hline 49}{c RT}
     stateyear_fixed {c |}          240             240              0     {c |} 
      district_fixed {c |}            0             193            193 *   {c |} 
{hline 21}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)
count
{err}(running historical version of reghdfe)
{res}{txt}(dropped 10 singleton observations)
{res}{txt}(converged in 4 iterations)
{res}
{txt}{inp}{title:Stage: first - cum_count_turbine}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}     15.71
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0001
{txt}{col 51}R-squared{col 67}= {res}    0.9797
{txt}{col 51}Adj R-squared{col 67}= {res}    0.9739
{txt}{col 51}Within R-sq.{col 67}= {res}    0.1426
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   79.8711

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}cum_count_~e{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2} 26.97431{col 26}{space 2} 6.804948{col 37}{space 1}    3.96{col 46}{space 3}0.000{col 54}{space 4} 13.55225{col 67}{space 3} 40.39636
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          240             240              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: ols}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      5.87
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0163
{txt}{col 51}R-squared{col 67}= {res}    0.8383
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7915
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0095
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   18.1272

{txt}{ralign 83:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         anti_env{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-.0206271{col 31}{space 2} .0085142{col 42}{space 1}   -2.42{col 51}{space 3}0.016{col 59}{space 4}-.0374204{col 72}{space 3}-.0038338
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          240             240              0     {c |} 
   district_fixed {c |}            0             193            193 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: reduced}

{txt}HDFE Linear regression{col 51}Number of obs{col 67}= {res}     1,929
{txt}Absorbing 2 HDFE groups{col 51}F({res}   1{txt},{res}    192{txt}){col 67}= {res}      5.85
{txt}Statistics robust to heteroskedasticity{col 51}Prob > F{col 67}= {res}    0.0165
{txt}{col 51}R-squared{col 67}= {res}    0.8382
{txt}{col 51}Adj R-squared{col 67}= {res}    0.7914
{txt}{col 51}Within R-sq.{col 67}= {res}    0.0091
{txt}{col 1}Number of clusters ({res}district_fixed{txt}) {col 30}= {res}       193{txt}{col 51}Root MSE{col 67}= {res}   18.1312

{txt}{ralign 78:(Std. Err. adjusted for {res:193} clusters in district_fixed)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    anti_env{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}inter {c |}{col 14}{res}{space 2}-1.439505{col 26}{space 2} .5953727{col 37}{space 1}   -2.42{col 46}{space 3}0.017{col 54}{space 4}-2.613816{col 67}{space 3}-.2651938
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

Absorbed degrees of freedom:
{hline 16}{c TT}{hline 49}{c TRC}
    Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 16}{c +}{hline 49}{c RT}
stateyear_fixed {c |}          240             240              0     {c |} 
 district_fixed {c |}            0             193            193 *   {c |} 
{hline 16}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}
{txt}{inp}{title:Stage: iv}


{txt}Summary results for first-stage regressions
{hline 43}

{col 44}{help ivreg2##swstats:(Underid)}{col 65}{help ivreg2##swstats:(Weak id)}
Variable     |{col 16}{help ivreg2##swstats:F}({res}{col 17}  1{txt},{res}   192{txt})  P-val{col 37}|{col 39}{help ivreg2##swstats:SW Chi-sq}({res}  1{txt}) P-val{col 60}|{col 62}{help ivreg2##swstats:SW F}({res}{col 67}  1{txt},{res}   192{txt})
{res}cum_count_tu{col 14}{txt}|{col 18}{res}   15.71{col 28}  0.0001{col 37}{txt}|{col 42}{res}   18.04{col 51}  0.0000{col 60}{txt}|{col 65}{res}   15.71

{txt}NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

{help ivreg2##idtest:Underidentification test}
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
{res}Kleibergen-Paap rk LM statistic{txt}{col 42}Chi-sq({res}1{txt})={res}11.48  {col 61}{txt}P-val={res}0.0007

{help ivreg2##widtest:Weak identification test}
{txt}Ho: equation is weakly identified
{res}Cragg-Donald Wald F statistic{col 65}  280.67
Kleibergen-Paap Wald rk F statistic{col 65}   15.71

{txt}Stock-Yogo weak ID test critical values for K1=1 and L1=1:
{res}{txt}{col 36}10% maximal IV size{res}{col 67} 16.38
{txt}{col 36}15% maximal IV size{res}{col 67}  8.96
{txt}{col 36}20% maximal IV size{res}{col 67}  6.66
{txt}{col 36}25% maximal IV size{res}{col 67}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

{help ivreg2##wirobust:Weak-instrument-robust inference}
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
{res}Anderson-Rubin Wald test{txt}{col 36}F({res}1{txt},{res}192{txt})={col 49}{res}   5.85{col 61}{txt}P-val={res}0.0165
Anderson-Rubin Wald test{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   6.71{col 61}{txt}P-val={res}0.0096
Stock-Wright LM S statistic{txt}{col 36}Chi-sq({res}1{txt})={col 49}{res}   5.83{col 61}{txt}P-val={res}0.0157

{txt}NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  = {res}       193
{txt}Number of observations               N  = {res}      1929
{txt}Number of regressors                 K  = {res}         1
{txt}Number of endogenous regressors      K1 = {res}         1
{txt}Number of instruments                L  = {res}         1
{txt}Number of excluded instruments       L1 = {res}         1

{txt}HDFE IV (2SLS) estimation
{hline 25}

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) = {col 33}{res}   193{txt}{col 55}Number of obs = {res}    1929
{txt}{col 55}F(  1,   192) = {res}    4.97
{txt}{col 55}Prob > F      = {res}  0.0269
{txt}Total (centered) SS     = {res} 495982.7314{txt}{col 55}Centered R2   = {res}  0.8344
{txt}Total (uncentered) SS   = {res} 495982.7314{txt}{col 55}Uncentered R2 = {res}       .
{txt}Residual SS             = {res} 503171.9933{txt}{col 55}Root MSE      = {res}   18.35

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}         anti_env{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
cum_count_turbine {c |}{col 19}{res}{space 2}-.0533658{col 31}{space 2} .0239365{col 42}{space 1}   -2.23{col 51}{space 3}0.027{col 59}{space 4}-.1005781{col 72}{space 3}-.0061535
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{help ivreg2##idtest:Underidentification test} (Kleibergen-Paap rk LM statistic):{res}{col 71}  11.483
{txt}{col 52}Chi-sq({res}1{txt}) P-val =  {res}{col 73}0.0007
{txt}{hline 78}
{help ivreg2##widtest:Weak identification test} (Cragg-Donald Wald F statistic):{res}{col 71} 280.668
{txt}                         (Kleibergen-Paap rk Wald F statistic):{res}{col 71}  15.713
{txt}Stock-Yogo weak ID test critical values:{res}{txt}{col 42}10% maximal IV size{res}{col 73} 16.38
{txt}{col 42}15% maximal IV size{res}{col 73}  8.96
{txt}{col 42}20% maximal IV size{res}{col 73}  6.66
{txt}{col 42}25% maximal IV size{res}{col 73}  5.53
{txt}Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
{hline 78}
{help ivreg2##overidtests:Hansen J statistic} (overidentification test of all instruments):{res}{col 71}   0.000
{txt}{col 50}(equation exactly identified)
{hline 78}
Instrumented:{col 23}cum_count_turbine
Excluded instruments:{col 23}inter
{hline 78}

Absorbed degrees of freedom:
{hline 18}{c TT}{hline 49}{c TRC}
      Absorbed FE {c |}  Num. Coefs.  =   Categories  -   Redundant     {c |} 
{hline 18}{c +}{hline 49}{c RT}
  stateyear_fixed {c |}          240             240              0     {c |} 
   district_fixed {c |}            0             193            193 *   {c |} 
{hline 18}{c BT}{hline 49}{c BRC}
* = fixed effect nested within cluster; treated as redundant for DoF computation
{res}{txt}(results {stata estimates replay reghdfe_first1:reghdfe_first1} are active now)
(results {stata estimates replay reghdfe_ols:reghdfe_ols} are active now)
(results {stata estimates replay reghdfe_reduced:reghdfe_reduced} are active now)

{com}. 
. 
. *--------------------- Export LaTeX regression tables -----------------------*
. cd "$rootDir/$resultDir/Tables"
{res}/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication/Results/Tables
{txt}
{com}. 
. ** IV estimates only
. esttab pro_capacity_iv pro_count_iv anti_capacity_iv anti_count_iv using TableA10.tex, booktabs replace ///
>                 se noconstant nonotes legend nonumbers collabels(none) star(* 0.10 ** 0.05 *** 0.01) ///
>                 b(%9.3f) stats(N N_clust r2, labels("Observations" "Districts" "\(R^{c -(}2{c )-}\)") fmt(0 0 2)) ///
>                 varlabels(cum_capacity_turbine "Cumulative capacity (MW)" cum_count_turbine "Cumulative count") varwidth(27) modelwidth(13) ///
>                 mtitles("Model" "Model" "Model" "Model") ///
>                 mgroups("Pro-Environment Vote" "Anti-Environment Vote", pattern(1 0 1 0) prefix(\multicolumn{c -(}@span{c )-}{c -(}c{c )-}{c -(}) suffix({c )-}) span erepeat(\cmidrule(lr){c -(}@span{c )-})) ///
>                 refcat(cum_capacity_turbine "\emph{c -(}Panel: IV{c )-}", nolabel) ///
>                 width(\hsize)
{res}{txt}(output written to {browse  `"TableA10.tex"'})

{com}. 
.                 
. ** Close log file
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang)/JOP/UZ_JOP2021_Replication/Analysis/logSTATA/015_analysis_dropUrban.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 6 Nov 2021, 20:34:45
{txt}{.-}
{smcl}
{txt}{sf}{ul off}